package com.lz.yz.member.service;

import com.lz.yz.core.Service;
import com.lz.yz.member.entity.PropertyInfo;

import java.math.BigDecimal;


/**
 * Created by CodeGenerator on 2017/11/09.
 */
public interface PropertyInfoService extends Service<PropertyInfo> {

    /**
     * 增加积分
     */
    int increaseIntegral(Integer accountId, BigDecimal value);

    /**
     * 减少积分
     */
    int decreaseIntegral(Integer accountId, BigDecimal value);

    /**
     * 增加余额
     */
    int increaseBalance(Integer accountId, BigDecimal value);

    /**
     * 减少余额
     */
    int decreaseBalance(Integer accountId, BigDecimal value);

}
